import request from '@/utils/request.js'
import axios from 'axios'

export function login(query) {
  return request({
    url: 'api/login',
    method: 'post',
    data: query
  })
}
export function register(query) {
  return request({
    url: 'api/register',
    method: 'post',
    data: query
  })
}